package com.brillilab.service.module.message.template.impl.message;

import com.brillilab.service.module.message.enums.AppPushTypeEnum;
import com.brillilab.service.module.message.template.AbstractMessageTemplate;
import com.brillilab.service.module.message.template.enums.MessageTypeEnum;

/**
 * @author zlb
 * @Title: PushMessageTemplate
 * @ProjectName brill_lab
 * @Description: TODO
 * @date 2019/10/17 10:53
 */
public class PushMessageTemplate extends AbstractMessageTemplate {

    /**
     * 推送消息模板
     *
     * @param labId
     * @param receiverId
     * @param labMemberId
     * @param title
     * @param content
     */
    public PushMessageTemplate(Long labId, Long receiverId, Long labMemberId, String title, String content) {
        super(labId, receiverId, AppPushTypeEnum.MESSAGE.getName());
        super.setType(MessageTypeEnum.PushMessage.getValue());
        super.setTitle(title);
        super.setContent(content);
        super.setAppContent(content);
        this.labMemberId = labMemberId;
    }
}
